@echo off
setlocal enabledelayedexpansion



:: 进入脚本所在的目录
cd /d "%~dp0"

:: 遍历当前目录下的所有文件，排除 . 和 ..
for %%f in (*) do (
    if not "%%f"=="." if not "%%f"==".." (
        echo Pushing %%f to device...
        adb push "%%f" /vendor/lib64/
        if !errorlevel! neq 0 (
            echo Failed to push %%f
        ) else (
            echo Successfully pushed %%f
        )
    )
)

echo Done.
endlocal

